[INFO] cloning repository https://github.com/dragon-zhang/rust-study
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dragon-zhang/rust-study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] de588d312d38270a3dbf9713b8fffcc6fec6aa87
[INFO] checking dragon-zhang/rust-study against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-zhang%2Frust-study" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dragon-zhang/rust-study
[INFO] finished tweaking git repo https://github.com/dragon-zhang/rust-study
[INFO] tweaked toml for git repo https://github.com/dragon-zhang/rust-study written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dragon-zhang/rust-study on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dragon-zhang/rust-study already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.2.10
[INFO] [stderr]   Downloaded unicode-ident v1.0.1
[INFO] [stderr]   Downloaded tokio v1.25.0
[INFO] [stderr]   Downloaded addr2line v0.19.0
[INFO] [stderr]   Downloaded async-trait v0.1.56
[INFO] [stderr]   Downloaded rustversion v1.0.6
[INFO] [stderr]   Downloaded indexmap v1.8.0
[INFO] [stderr]   Downloaded backtrace v0.3.67
[INFO] [stderr]   Downloaded retain_mut v0.1.9
[INFO] [stderr]   Downloaded serde v1.0.136
[INFO] [stderr]   Downloaded openssl v0.10.38
[INFO] [stderr]   Downloaded tokio-util v0.6.9
[INFO] [stderr]   Downloaded http v0.2.6
[INFO] [stderr]   Downloaded js-sys v0.3.56
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.79
[INFO] [stderr]   Downloaded security-framework v2.5.0
[INFO] [stderr]   Downloaded web-sys v0.3.56
[INFO] [stderr]   Downloaded hyper v0.14.16
[INFO] [stderr]   Downloaded unicode-normalization v0.1.19
[INFO] [stderr]   Downloaded reqwest v0.11.9
[INFO] [stderr]   Downloaded futures-util v0.3.21
[INFO] [stderr]   Downloaded slab v0.4.5
[INFO] [stderr]   Downloaded gimli v0.27.1
[INFO] [stderr]   Downloaded h2 v0.3.11
[INFO] [stderr]   Downloaded serde_json v1.0.78
[INFO] [stderr]   Downloaded object v0.30.3
[INFO] [stderr]   Downloaded bumpalo v3.9.1
[INFO] [stderr]   Downloaded rand v0.8.4
[INFO] [stderr]   Downloaded syn v1.0.98
[INFO] [stderr]   Downloaded tracing v0.1.29
[INFO] [stderr]   Downloaded native-tls v0.2.8
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.29
[INFO] [stderr]   Downloaded rustc-demangle v0.1.21
[INFO] [stderr]   Downloaded deadpool-runtime v0.1.2
[INFO] [stderr]   Downloaded syn-mid v0.5.3
[INFO] [stderr]   Downloaded proc-macro-error-attr v0.4.12
[INFO] [stderr]   Downloaded genawaiter v0.99.1
[INFO] [stderr]   Downloaded futures-channel v0.3.21
[INFO] [stderr]   Downloaded futures-task v0.3.21
[INFO] [stderr]   Downloaded futures-sink v0.3.21
[INFO] [stderr]   Downloaded ipnet v2.3.1
[INFO] [stderr]   Downloaded once_cell v1.17.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.72
[INFO] [stderr]   Downloaded security-framework-sys v2.5.0
[INFO] [stderr]   Downloaded bytes v1.1.0
[INFO] [stderr]   Downloaded genawaiter-macro v0.99.1
[INFO] [stderr]   Downloaded genawaiter-proc-macro v0.99.1
[INFO] [stderr]   Downloaded priority-queue v1.2.2
[INFO] [stderr]   Downloaded httparse v1.5.1
[INFO] [stderr]   Downloaded itoa v0.4.8
[INFO] [stderr]   Downloaded tower-service v0.3.1
[INFO] [stderr]   Downloaded ryu v1.0.9
[INFO] [stderr]   Downloaded pkg-config v0.3.24
[INFO] [stderr]   Downloaded schannel v0.1.19
[INFO] [stderr]   Downloaded core-foundation v0.9.2
[INFO] [stderr]   Downloaded fastrand v1.7.0
[INFO] [stderr]   Downloaded unicode-bidi v0.3.7
[INFO] [stderr]   Downloaded tinyvec v1.5.1
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.79
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.79
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.79
[INFO] [stderr]   Downloaded winreg v0.7.0
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.6
[INFO] [stderr]   Downloaded encoding_rs v0.8.30
[INFO] [stderr]   Downloaded pin-project-internal v1.0.10
[INFO] [stderr]   Downloaded pin-project v1.0.10
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.16
[INFO] [stderr]   Downloaded wasi v0.10.2+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded getrandom v0.2.4
[INFO] [stderr]   Downloaded rand_core v0.6.3
[INFO] [stderr]   Downloaded rand_hc v0.3.1
[INFO] [stderr]   Downloaded memchr v2.4.1
[INFO] [stderr]   Downloaded smallvec v1.8.0
[INFO] [stderr]   Downloaded pin-project-lite v0.2.8
[INFO] [stderr]   Downloaded proc-macro2 v1.0.40
[INFO] [stderr]   Downloaded miniz_oxide v0.6.2
[INFO] [stderr]   Downloaded deadpool v0.9.5
[INFO] [stderr]   Downloaded proc-macro-error v0.4.12
[INFO] [stderr]   Downloaded futures-core v0.3.21
[INFO] [stderr]   Downloaded http-body v0.4.4
[INFO] [stderr]   Downloaded tracing-core v0.1.21
[INFO] [stderr]   Downloaded itoa v1.0.1
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.79
[INFO] [stderr]   Downloaded log v0.4.14
[INFO] [stderr]   Downloaded tokio-macros v1.7.0
[INFO] [stderr]   Downloaded tokio-retry v0.3.0
[INFO] [stderr]   Downloaded context v2.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b1db1ccc31d87c0acf35185440f9df587cfac969dbf031084802d8c9c1d4aec6
[INFO] running `Command { std: "docker" "start" "-a" "b1db1ccc31d87c0acf35185440f9df587cfac969dbf031084802d8c9c1d4aec6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b1db1ccc31d87c0acf35185440f9df587cfac969dbf031084802d8c9c1d4aec6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1db1ccc31d87c0acf35185440f9df587cfac969dbf031084802d8c9c1d4aec6", kill_on_drop: false }`
[INFO] [stdout] b1db1ccc31d87c0acf35185440f9df587cfac969dbf031084802d8c9c1d4aec6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cfc16c2bcc6a3208379354f360482fdbf49c247d3122d03b7b445bfa3f363148
[INFO] running `Command { std: "docker" "start" "-a" "cfc16c2bcc6a3208379354f360482fdbf49c247d3122d03b7b445bfa3f363148", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking tracing-core v0.1.21
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking once_cell v1.17.0
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling proc-macro-error-attr v0.4.12
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling tokio v1.25.0
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]     Checking tracing v0.1.29
[INFO] [stderr]    Compiling proc-macro-error v0.4.12
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling backtrace v0.3.67
[INFO] [stderr]    Compiling priority-queue v1.2.2
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking gimli v0.27.1
[INFO] [stderr]     Checking miniz_oxide v0.6.2
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking getrandom v0.2.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking object v0.30.3
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]     Checking genawaiter-macro v0.99.1
[INFO] [stderr]     Checking retain_mut v0.1.9
[INFO] [stderr]     Checking deadpool-runtime v0.1.2
[INFO] [stderr]     Checking ipnet v2.3.1
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.6
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling context v2.1.0
[INFO] [stderr]     Checking module2 v0.1.0 (/opt/rustwide/workdir/28c_call_rust)
[INFO] [stderr]    Compiling use_hook v0.1.0 (/opt/rustwide/workdir/33use_hook)
[INFO] [stderr]     Checking hook v0.1.0 (/opt/rustwide/workdir/32hook)
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking coroutine v0.1.0 (/opt/rustwide/workdir/coroutine)
[INFO] [stderr]    Compiling generator v0.1.0 (/opt/rustwide/workdir/generator)
[INFO] [stderr]    Compiling module1 v0.1.0 (/opt/rustwide/workdir/simple)
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]    Compiling syn-mid v0.5.3
[INFO] [stdout] warning: unused import: `std::mem::MaybeUninit`
[INFO] [stdout]  --> simple/src/stack/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:74:37
[INFO] [stdout]    |
[INFO] [stdout] 74 |     static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 74 -     static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout] 74 +     static PAGE_SIZE: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> simple/src/stack/system/unix.rs:105:26
[INFO] [stdout]     |
[INFO] [stdout] 105 |             limit = mem::uninitialized();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:96:37
[INFO] [stdout]    |
[INFO] [stdout] 96 |     static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 96 -     static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout] 96 +     static PAGE_SIZE: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> simple/src/stack/error.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 |             StackError::IoError(ref e) => e.description(),
[INFO] [stdout]    |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `protected` is never read
[INFO] [stdout]   --> simple/src/stack/mod.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Stack {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 21 |     protected: bool,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `shadow_clone`, `drop_stack`, `expand`, and `reduce` are never used
[INFO] [stdout]    --> simple/src/stack/mod.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 26  | impl Stack {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn shadow_clone(&self) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn drop_stack(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn expand(old_stack: Stack, ratio: usize) -> Result<Stack, StackError> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     fn reduce(old_stack: Stack, ratio: usize) -> Result<(), StackError> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy_stack` is never used
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub unsafe fn copy_stack(new: &Stack, old: &Stack) {
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reduce_stack` is never used
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:42:15
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub unsafe fn reduce_stack(stack: &Stack, size: usize) {
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deallocate_stack` is never used
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:69:15
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub unsafe fn deallocate_stack(ptr: *mut c_void, size: usize) {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `rlimit` does not permit being left uninitialized
[INFO] [stdout]    --> simple/src/stack/system/unix.rs:105:21
[INFO] [stdout]     |
[INFO] [stdout] 105 |             limit = mem::uninitialized();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this code causes undefined behavior when executed
[INFO] [stdout]     |                     help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::MaybeUninit`
[INFO] [stdout]  --> simple/src/stack/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::register::asm::bootstrap_green_task`, `crate::register::asm::prefetch`
[INFO] [stdout]  --> generator/src/register/x86_64_unix.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::register::asm::{bootstrap_green_task, prefetch};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^ no `prefetch` in `register::asm`
[INFO] [stdout]   |                            |
[INFO] [stdout]   |                            no `bootstrap_green_task` in `register::asm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:74:37
[INFO] [stdout]    |
[INFO] [stdout] 74 |     static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 74 -     static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout] 74 +     static PAGE_SIZE: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> simple/src/stack/system/unix.rs:105:26
[INFO] [stdout]     |
[INFO] [stdout] 105 |             limit = mem::uninitialized();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:96:37
[INFO] [stdout]    |
[INFO] [stdout] 96 |     static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 96 -     static PAGE_SIZE: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout] 96 +     static PAGE_SIZE: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `nightly`
[INFO] [stdout]    --> generator/src/generator.rs:166:15
[INFO] [stdout]     |
[INFO] [stdout] 166 |     #[cfg(not(nightly))]
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `nightly`
[INFO] [stdout]    --> generator/src/runtime.rs:164:15
[INFO] [stdout]     |
[INFO] [stdout] 164 |     #[cfg(not(nightly))]
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `fmt`
[INFO] [stdout]    --> generator/src/generator.rs:164:1
[INFO] [stdout]     |
[INFO] [stdout] 164 | impl<'a, A, T, const LOCAL: bool> fmt::Debug for GeneratorObj<'a, A, T, LOCAL> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `fmt` in implementation
[INFO] [stdout]     |
[INFO] [stdout]     = help: implement the missing item: `fn fmt(&self, _: &mut Formatter<'_>) -> Result<(), std::fmt::Error> { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> simple/src/stack/error.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 |             StackError::IoError(ref e) => e.description(),
[INFO] [stdout]    |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/generator.rs:337:33
[INFO] [stdout]     |
[INFO] [stdout] 337 |         let env = ContextStack::current();
[INFO] [stdout]     |                                 ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/generator.rs:524:23
[INFO] [stdout]     |
[INFO] [stdout] 524 |         ContextStack::current().top().err = Some(cause);
[INFO] [stdout]     |                       ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/runtime.rs:239:29
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 239 |     let env = ContextStack::current();
[INFO] [stdout]     |                             ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/runtime.rs:248:29
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 248 |     let env = ContextStack::current();
[INFO] [stdout]     |                             ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/scope.rs:53:33
[INFO] [stdout]     |
[INFO] [stdout] 53  |         let env = ContextStack::current();
[INFO] [stdout]     |                                 ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/scope.rs:77:33
[INFO] [stdout]     |
[INFO] [stdout] 77  |         let env = ContextStack::current();
[INFO] [stdout]     |                                 ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/co_yield.rs:25:19
[INFO] [stdout]     |
[INFO] [stdout] 25  |     ContextStack::current().top()._ref = 0xf;
[INFO] [stdout]     |                   ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::register::asm::bootstrap_green_task`, `crate::register::asm::prefetch`
[INFO] [stdout]  --> generator/src/register/x86_64_unix.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::register::asm::{bootstrap_green_task, prefetch};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^ no `prefetch` in `register::asm`
[INFO] [stdout]   |                            |
[INFO] [stdout]   |                            no `bootstrap_green_task` in `register::asm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/co_yield.rs:35:29
[INFO] [stdout]     |
[INFO] [stdout] 35  |     let env = ContextStack::current();
[INFO] [stdout]     |                             ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/co_yield.rs:48:29
[INFO] [stdout]     |
[INFO] [stdout] 48  |     let env = ContextStack::current();
[INFO] [stdout]     |                             ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/co_yield.rs:74:19
[INFO] [stdout]     |
[INFO] [stdout] 74  |     ContextStack::current()
[INFO] [stdout]     |                   ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/co_yield.rs:81:38
[INFO] [stdout]     |
[INFO] [stdout] 81  |     if let Some(ctx) = ContextStack::current().co_ctx() {
[INFO] [stdout]     |                                      ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> generator/src/stack/unix.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> generator/src/stack/unix.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         unsafe { Ok(SysStack::new(stack.top(), bottom)) }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> generator/src/stack/mod.rs:120:31
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 let mut ret = unsafe { sys::allocate_stack(size) };
[INFO] [stdout]     |                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> generator/src/stack/mod.rs:124:31
[INFO] [stdout]     |
[INFO] [stdout] 124 |                         ret = unsafe { sys::protect_stack(&stack) };
[INFO] [stdout]     |                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> generator/src/stack/mod.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `protected` is never read
[INFO] [stdout]   --> simple/src/stack/mod.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Stack {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 21 |     protected: bool,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `shadow_clone`, `drop_stack`, `expand`, and `reduce` are never used
[INFO] [stdout]    --> simple/src/stack/mod.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 26  | impl Stack {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn shadow_clone(&self) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn drop_stack(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn expand(old_stack: Stack, ratio: usize) -> Result<Stack, StackError> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     fn reduce(old_stack: Stack, ratio: usize) -> Result<(), StackError> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy_stack` is never used
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub unsafe fn copy_stack(new: &Stack, old: &Stack) {
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reduce_stack` is never used
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:42:15
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub unsafe fn reduce_stack(stack: &Stack, size: usize) {
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deallocate_stack` is never used
[INFO] [stdout]   --> simple/src/stack/system/unix.rs:69:15
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub unsafe fn deallocate_stack(ptr: *mut c_void, size: usize) {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `rlimit` does not permit being left uninitialized
[INFO] [stdout]    --> simple/src/stack/system/unix.rs:105:21
[INFO] [stdout]     |
[INFO] [stdout] 105 |             limit = mem::uninitialized();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this code causes undefined behavior when executed
[INFO] [stdout]     |                     help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout]     = note: integers must be initialized
[INFO] [stdout]     = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `nightly`
[INFO] [stdout]    --> generator/src/generator.rs:166:15
[INFO] [stdout]     |
[INFO] [stdout] 166 |     #[cfg(not(nightly))]
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `nightly`
[INFO] [stdout]    --> generator/src/runtime.rs:164:15
[INFO] [stdout]     |
[INFO] [stdout] 164 |     #[cfg(not(nightly))]
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `generator` (lib test) due to 13 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `fmt`
[INFO] [stdout]    --> generator/src/generator.rs:164:1
[INFO] [stdout]     |
[INFO] [stdout] 164 | impl<'a, A, T, const LOCAL: bool> fmt::Debug for GeneratorObj<'a, A, T, LOCAL> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `fmt` in implementation
[INFO] [stdout]     |
[INFO] [stdout]     = help: implement the missing item: `fn fmt(&self, _: &mut Formatter<'_>) -> Result<(), std::fmt::Error> { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/generator.rs:337:33
[INFO] [stdout]     |
[INFO] [stdout] 337 |         let env = ContextStack::current();
[INFO] [stdout]     |                                 ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/generator.rs:524:23
[INFO] [stdout]     |
[INFO] [stdout] 524 |         ContextStack::current().top().err = Some(cause);
[INFO] [stdout]     |                       ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/runtime.rs:239:29
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 239 |     let env = ContextStack::current();
[INFO] [stdout]     |                             ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/runtime.rs:248:29
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 248 |     let env = ContextStack::current();
[INFO] [stdout]     |                             ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/scope.rs:53:33
[INFO] [stdout]     |
[INFO] [stdout] 53  |         let env = ContextStack::current();
[INFO] [stdout]     |                                 ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/scope.rs:77:33
[INFO] [stdout]     |
[INFO] [stdout] 77  |         let env = ContextStack::current();
[INFO] [stdout]     |                                 ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/co_yield.rs:25:19
[INFO] [stdout]     |
[INFO] [stdout] 25  |     ContextStack::current().top()._ref = 0xf;
[INFO] [stdout]     |                   ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/co_yield.rs:35:29
[INFO] [stdout]     |
[INFO] [stdout] 35  |     let env = ContextStack::current();
[INFO] [stdout]     |                             ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/co_yield.rs:48:29
[INFO] [stdout]     |
[INFO] [stdout] 48  |     let env = ContextStack::current();
[INFO] [stdout]     |                             ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/co_yield.rs:74:19
[INFO] [stdout]     |
[INFO] [stdout] 74  |     ContextStack::current()
[INFO] [stdout]     |                   ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `current` found for struct `ContextStack` in the current scope
[INFO] [stdout]    --> generator/src/co_yield.rs:81:38
[INFO] [stdout]     |
[INFO] [stdout] 81  |     if let Some(ctx) = ContextStack::current().co_ctx() {
[INFO] [stdout]     |                                      ^^^^^^^ function or associated item not found in `ContextStack`
[INFO] [stdout]     |
[INFO] [stdout]    ::: generator/src/runtime.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct ContextStack {
[INFO] [stdout]     | ----------------------- function or associated item `current` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> generator/src/stack/unix.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> generator/src/stack/unix.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         unsafe { Ok(SysStack::new(stack.top(), bottom)) }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> generator/src/stack/mod.rs:120:31
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 let mut ret = unsafe { sys::allocate_stack(size) };
[INFO] [stdout]     |                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> generator/src/stack/mod.rs:124:31
[INFO] [stdout]     |
[INFO] [stdout] 124 |                         ret = unsafe { sys::protect_stack(&stack) };
[INFO] [stdout]     |                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> generator/src/stack/mod.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `generator` (lib) due to 13 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cfc16c2bcc6a3208379354f360482fdbf49c247d3122d03b7b445bfa3f363148", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfc16c2bcc6a3208379354f360482fdbf49c247d3122d03b7b445bfa3f363148", kill_on_drop: false }`
[INFO] [stdout] cfc16c2bcc6a3208379354f360482fdbf49c247d3122d03b7b445bfa3f363148
